
<div id="columnContainer">

	<header class="column">
		{% if settings.site.logo %}
			<h1><a href="/"><img src="{{ settings.site.logo }}" alt="{{ settings.site.page_title }}" /></a></h1>
		{% else %}
			<h1 class="x-editable"
				data-berta='{"editor":"Textline","route":"put:settings","variable":"site.page_title","editor_params":{"newlines":true,"tags_allowed":"<br><b><strong><em><i>"},"contextSettings":["s:test.fontSize","s:test.testColor"]}'>
				{{ settings.site.page_title }}
			</h1>
		{% endif %}
	</header>

	<div class="column">
		{% for widget in widgets.left %}
			{{ widget }}
		{% endfor %}
	</div>

	<div class="column column-4 column-no-border"></div>

	<nav class="column column-right">
		{% if currentSection %}
			{% for widget in widgets.right %}
				{{ widget }}
			{% endfor %}
		{% else %}
			{% for widget in widgets.firstright %}
				{{ widget }}
			{% endfor %}
		{% endif %}
	</nav>
</div>

<section id="contentContainer" class="column column-4">
	{% if currentSection %}
		<div class="kino-articles x-articles" data-berta='{"sectionId":{{ currentSection.id }} }'>
			{% for entry in entries %}
				{% include "entry-in-list.html" %}
			{% endfor %}
		</div>
	{% else %}
		{% for widget in widgets.firstmain %}
			{{ widget }}
		{% endfor %}
	{% endif %}

	<footer class="column-4-split clearfix">
		<div class="column">
			{% for widget in widgets.footer_1 %}
				{{ widget }}
			{% endfor %}
		</div>
		<div class="column">
			{% for widget in widgets.footer_2 %}
				{{ widget }}
			{% endfor %}
		</div>
		<div class="column column-2 clearfix">
			<h3>Atbalstītāji</h3>
			<a class="supporter-logo" href="http://kkf.lv/" target="_blank"><img src="/uploads/assets/kinomuzejs-atbalstitaji-kkf.png" /></a>
			<a class="supporter-logo" href="http://kkf.lv/" target="_blank"><img src="/uploads/assets/kinomuzejs-atbalstitaji-kkf.png" /></a>
		</div>
	</footer>
</section>